package org.example.domain;

import lombok.Data;

import java.util.Map;

/**
 * @description:
 * @Author: whopxx
 * @CreateTime: 2025-07-26
 */

/**
 * demo json
 * {
 *     "filter": "dsc like #{value.dsc_0}",
 *     "value": {
 *         "dsc_0": "%是%"
 *     }
 * }
 *
 * [
 *     {
 *         "id": 1,
 *         "name": "美国白宫",
 *         "dsc": "位于华盛顿特区，是美国总统的官邸和办公室",
 *         "type": "建筑"
 *     },
 *     {
 *         "id": 3,
 *         "name": "中国春节",
 *         "dsc": "农历新年，是中国最重要的传统节日",
 *         "type": "节日"
 *     }
 * ]
 */
@Data
public class InformationDTO {
    private String name;
    private String dsc;
    private String type;

    // 过滤条件
    private String filter;
    // 填充字段
    private Map<String, Object> value;
}
